package com.sgcc.nrxt.crmdemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Remittance)实体类
 *
 * @author makejava
 * @since 2023-10-30 10:12:58
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("remittance")
public class Remittance implements Serializable {
    private static final long serialVersionUID = -91269007849069508L;
    /**
     * 主键
     */
    @TableField("id")
    private Integer id;
    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 客户id
     */
    @TableField("customId")
    private Integer customId;
    /**
     * 汇款方式
     */
    @TableField("remittanceWay")
    private String remittanceWay;
    /**
     * 汇款金额
     */
    @TableField("amount")
    private Integer amount;
    /**
     * 提醒时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("reminderTime")
    private String reminderTime;
    /**
     * 汇款比例
     */
    @TableField("remittanceRate")
    private String remittanceRate;
    /**
     * 计划回款时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("plannedPaymentTime")
    private String plannedPaymentTime;
    /**
     * 汇款状态
     */
    @TableField("status")
    private Integer status;
    /**
     * 收款人
     */
    @TableField("payee")
    private String payee;
    /**
     * 逾期天数
     */
    @TableField("overdueDays")
    private Integer overdueDays;
    /**
     * 备注
     */
    @TableField("note")
    private String note;
}

